<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
  <meta charset="UTF-8">
  <title>^^title-楼盘户型管理-添加</title>
  <meta http-equiv="X-UA-Compatible" content="IE=Edge" />

  <link rel="stylesheet" href="^^static_url/css/vendor.css">
  <link rel="stylesheet" href="^^static_url/css/1m2.css">
</head>
<body>
  @@include('header.html')
  @@include('menu.html')
  <div class="content-wrap">
    <ol class="breadcrumb _white">
      <li><a href="./index.html">楼盘户型列表</a></li>
      <li class="active">添加楼盘户型</li>
    </ol>
    <div class="detail-title">
      <div class="detail-title-text">新建楼盘户型</div>
    </div>
    <div class="content">
      <form class="form form-horizontal inner-form" id='form'>
        <div class="form-group form-group-required">
          <label for="developerId" class="col-xs-24 col-sm-^^gutter-name control-label">开发商名称</label>
          <div class="col-xs-24 col-sm-^^gutter-value">
            <select class="form-control" autofocus="off" v-model="developerId" name="developerId" autocomplete="off" ref="select">
              <option value=''>请选择</option>
              <option v-for="developer in developerList" :value="developer.enterInfo.enterpriseName">
                {{ developer.enterInfo.enterpriseName }}
              </option>
            </select>
          </div>
        </div>
        <div class="form-group form-group-required">
          <label for="buildingId" class="col-xs-24 col-sm-^^gutter-name control-label">楼盘名称</label>
          <div class="col-xs-24 col-sm-^^gutter-value">
            <select class="form-control" autofocus="off" id="buildingId" v-model="buildingId" name="buildingId" :disabled="isLock" autocomplete="off">
              <option value=''>请选择</option>
              <option v-for="property in propertyList" :value="property.idStr" v-if="property.developerName === developerId">
                {{ property.propertyName }}
              </option>
            </select>
          </div>
        </div>
        <div class="form-group form-group-required">
          <label for="name" class="col-xs-24 col-sm-^^gutter-name control-label">楼盘户型</label>
          <div class="col-xs-24 col-sm-^^gutter-value">
            <input type="text" v-model="name" class="form-control" name="name" :readonly="buildingId === ''" :disabled="isLock">
          </div>
        </div>
        <div class="form-group form-group-required">
          <label for="buildingType" class="col-xs-24 col-sm-^^gutter-name control-label">楼盘类型</label>
          <div class="col-xs-24 col-sm-^^gutter-value">
            <select class="form-control" autofocus="off" v-model="buildingType" name="buildingType" :disabled="isLock" autocomplete="off">
              <option value=''>请选择</option>
              <option v-for="buildingType in buildingTypeList" :value="buildingType.key">
                {{ buildingType.name }}
              </option>
            </select>
          </div>
        </div>
        <div class="form-group form-group-required">
          <label for="price" class="col-xs-24 col-sm-^^gutter-name control-label">预交金额</label>
          <div class="col-xs-24 col-sm-^^gutter-value">
            <input type="text" v-model.number="price" class="form-control" name="price" :disabled="isLock">
          </div>
        </div>
        <div class="form-group form-group-required">
          <label for="equalMoney" class="col-xs-24 col-sm-^^gutter-name control-label">抵扣金额</label>
          <div class="col-xs-24 col-sm-^^gutter-value">
            <input type="text" v-model.number="equalMoney" class="form-control" name="equalMoney" :disabled="isLock">
          </div>
        </div>
        <div class="form-group form-group-required">
          <label for="isPos" class="col-xs-24 col-sm-^^gutter-name control-label">大额入金</label>
          <div class="col-xs-24 col-sm-^^gutter-value">
            <div class="btn-group">
              <button type="button" class="btn" :class="(isPos - 0) === 1 ? 'btn-primary' : 'btn-default'" :disabled="isLock" @click="isPos = 1">是</button>
              <button type="button" class="btn" :class="(isPos - 0) !== 1 ? 'btn-primary' : 'btn-default'" :disabled="isLock" @click="isPos = 0">否</button>
            </div>
          </div>
          <div class="popover right">
            <div class="arrow"></div>
            <div class="popover-content">如果不选择，在入金时采用开户渠道</div>
          </div>
        </div>
        <div v-if="isPos" class="form-group form-group-required">
          <label for="" class="col-xs-24 col-sm-^^gutter-name control-label">大额渠道</label>
          <div class="col-xs-24 col-sm-^^gutter-value">
            <select class="form-control" autofocus="off" v-model="payChannel" name="payChannel" :disabled="isLock" autocomplete="off">
              <option value=''>请选择</option>
              <option v-for="item in payChannelList" :value="item.key">
                {{ item.name }}
              </option>
            </select>
          </div>
        </div>
        <div class="form-group form-group-required">
          <label for="flagUpgrade" class="col-xs-24 col-sm-^^gutter-name control-label">是否升级存入金额</label>
          <div class="col-xs-24 col-sm-^^gutter-value">
            <div class="btn-group">
              <button type="button" class="btn" :class="(flagUpgrade - 0) === 1 ? 'btn-primary' : 'btn-default'" :disabled="isLock" @click="flagUpgrade = 1">是</button>
              <button type="button" class="btn" :class="(flagUpgrade - 0) !== 1 ? 'btn-primary' : 'btn-default'" :disabled="isLock" @click="flagUpgrade = 0">否</button>
            </div>
          </div>
          <div class="popover right">
            <div class="arrow"></div>
            <div class="popover-content">此功能用于以前此户型收款金额为5万。现在升级为50万</div>
          </div>
        </div>
        <div v-if="flagUpgrade" class="form-group form-group-required">
          <label for="" class="col-xs-24 col-sm-^^gutter-name control-label">升级渠道</label>
          <div class="col-xs-24 col-sm-^^gutter-value">
            <select class="form-control" autofocus="off" v-model="upgradeChannel" name="upgradeChannel" :disabled="isLock" autocomplete="off">
              <option value=''>请选择</option>
              <option value="xingye">兴业</option>
              <option value="zheshang">浙商</option>
              <option value="yinshang">银商</option>
            </select>
          </div>
        </div>
        <div class="form-group form-group-required">
          <label for="isShow" class="col-xs-24 col-sm-^^gutter-name control-label">是否显示</label>
          <div class="col-xs-24 col-sm-^^gutter-value">
            <div class="btn-group">
              <button type="button" class="btn" :class="(isShow - 0) === 1 ? 'btn-primary' : 'btn-default'" :disabled="isLock" @click="isShow = 1">是</button>
              <button type="button" class="btn" :class="(isShow - 0) !== 1 ? 'btn-primary' : 'btn-default'" :disabled="isLock" @click="isShow = 0">否</button>
            </div>
          </div>
        </div>
        <div class="form-group">
          <div class="col-xs-24 col-sm-offset-^^gutter-name col-sm-^^gutter-value">
            <button type="submit" class="btn btn-primary btn-h-llg" :disabled="isLock">提交</button>
          </div>
        </div>
      </form>
    </div>
  </div>
  @@include('footer.html')
</body>
<script src="^^static_url/js/vendor.js"></script>
<script src="^^static_url/js/estateTypeManage_add.js"></script>
</html>